/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.mes.manager;

import java.util.Collection;
import java.util.List;

import com.xy.biz.mes.domain.bo.ManufactureResultBO;
import com.xy.biz.mes.domain.bo.ManufactureResultGoodsBO;
import com.xy.biz.mes.domain.query.ManufactureResultQuery;

/**
 *
 *
 * @author zgy
 * @date 2022-2-11
 */
public interface ManufactureResultManager {

    /**
     * 保存
     *
     * @param manufactureResultBO
     */
    int saveManufactureResult(ManufactureResultBO manufactureResultBO);

    /**
     * 保存多个
     *
     * @param collection
     */
    int saveAllManufactureResult(Collection<ManufactureResultBO> collection);

    /**
     * 更新
     *
     * @param manufactureResultBO
     */
    int updateManufactureResult(ManufactureResultBO manufactureResultBO);

    /**
     * 删除
     *
     * @param manufactureResultId
     */
    int deleteManufactureResult(java.lang.Long manufactureResultId);

    /**
     * 查找一个
     *
     * @param manufactureResultId
     * @return
     */
    ManufactureResultBO getManufactureResult(java.lang.Long manufactureResultId);

    /**
     * 查找多个
     *
     * @param collection 标识集合
     */
    List<ManufactureResultBO> listManufactureResultById(Collection<java.lang.Long> collection);

    /**
     * 查找多个
     *
     * @param query 查找条件
     */
    List<ManufactureResultBO> listManufactureResult(ManufactureResultQuery query);

    List<ManufactureResultGoodsBO> listManufactureResultGoods(ManufactureResultQuery query);

    /**
     * 统计个数
     *
     * @param query 查找条件
     */
    int countManufactureResult(ManufactureResultQuery query);

}
